package com.github.icloudpay.crm.core.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * 开票订单表
 * 
 * @author centerroot
 * @email lfw6699@163.com
 * @date 2018-05-25 15:20:48
 */
@Table(name = "order_invoice")
public class OrderInvoice implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    //订单号
    @Id
    private String orderNo;
	
	    //平台编号
    @Column(name = "PLATFORM_ID")
    private String platformId;
	
	    //充值订单号
    @Column(name = "RECHARGE_NO")
    private String rechargeNo;
	
	    //商户编号
    @Column(name = "MER_ID")
    private String merId;
	
	    //手机号
    @Column(name = "MOBILE")
    private String mobile;
	
	    //开票金额
    @Column(name = "AMOUNT")
    private BigDecimal amount;
	
	    //抬头类型
    @Column(name = "HEADER_TYPE")
    private String headerType;
	
	    //发票抬头
    @Column(name = "INVOICE_HAEADER")
    private String invoiceHaeader;
	
	    //税号
    @Column(name = "TAX_ID")
    private String taxId;
	
	    //发票内容
    @Column(name = "INVOICE_CONTENT")
    private String invoiceContent;
	
	    //收件人姓名
    @Column(name = "RECEIVE_NAME")
    private String receiveName;
	
	    //联系电话
    @Column(name = "TELEPHONE")
    private String telephone;
	
	    //所在地区
    @Column(name = "DISTRICT")
    private String district;
	
	    //详细地址
    @Column(name = "ADDRESS")
    private String address;
	
	    //订单状态
    @Column(name = "STATUS")
    private String status;
	
	    //创建时间
    @Column(name = "CREATETIME")
    private Timestamp createtime;
	
	    //更新时间
    @Column(name = "UPDATETIME")
    private Timestamp updatetime;
	

	/**
	 * 设置：订单号
	 */
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	/**
	 * 获取：订单号
	 */
	public String getOrderNo() {
		return orderNo;
	}
	/**
	 * 设置：平台编号
	 */
	public void setPlatformId(String platformId) {
		this.platformId = platformId;
	}
	/**
	 * 获取：平台编号
	 */
	public String getPlatformId() {
		return platformId;
	}
	/**
	 * 设置：充值订单号
	 */
	public void setRechargeNo(String rechargeNo) {
		this.rechargeNo = rechargeNo;
	}
	/**
	 * 获取：充值订单号
	 */
	public String getRechargeNo() {
		return rechargeNo;
	}
	/**
	 * 设置：商户编号
	 */
	public void setMerId(String merId) {
		this.merId = merId;
	}
	/**
	 * 获取：商户编号
	 */
	public String getMerId() {
		return merId;
	}
	/**
	 * 设置：手机号
	 */
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	/**
	 * 获取：手机号
	 */
	public String getMobile() {
		return mobile;
	}
	/**
	 * 设置：开票金额
	 */
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}
	/**
	 * 获取：开票金额
	 */
	public BigDecimal getAmount() {
		return amount;
	}
	/**
	 * 设置：抬头类型
	 */
	public void setHeaderType(String headerType) {
		this.headerType = headerType;
	}
	/**
	 * 获取：抬头类型
	 */
	public String getHeaderType() {
		return headerType;
	}
	/**
	 * 设置：发票抬头
	 */
	public void setInvoiceHaeader(String invoiceHaeader) {
		this.invoiceHaeader = invoiceHaeader;
	}
	/**
	 * 获取：发票抬头
	 */
	public String getInvoiceHaeader() {
		return invoiceHaeader;
	}
	/**
	 * 设置：税号
	 */
	public void setTaxId(String taxId) {
		this.taxId = taxId;
	}
	/**
	 * 获取：税号
	 */
	public String getTaxId() {
		return taxId;
	}
	/**
	 * 设置：发票内容
	 */
	public void setInvoiceContent(String invoiceContent) {
		this.invoiceContent = invoiceContent;
	}
	/**
	 * 获取：发票内容
	 */
	public String getInvoiceContent() {
		return invoiceContent;
	}
	/**
	 * 设置：收件人姓名
	 */
	public void setReceiveName(String receiveName) {
		this.receiveName = receiveName;
	}
	/**
	 * 获取：收件人姓名
	 */
	public String getReceiveName() {
		return receiveName;
	}
	/**
	 * 设置：联系电话
	 */
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
	/**
	 * 获取：联系电话
	 */
	public String getTelephone() {
		return telephone;
	}
	/**
	 * 设置：所在地区
	 */
	public void setDistrict(String district) {
		this.district = district;
	}
	/**
	 * 获取：所在地区
	 */
	public String getDistrict() {
		return district;
	}
	/**
	 * 设置：详细地址
	 */
	public void setAddress(String address) {
		this.address = address;
	}
	/**
	 * 获取：详细地址
	 */
	public String getAddress() {
		return address;
	}
	/**
	 * 设置：订单状态
	 */
	public void setStatus(String status) {
		this.status = status;
	}
	/**
	 * 获取：订单状态
	 */
	public String getStatus() {
		return status;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreatetime(Timestamp createtime) {
		this.createtime = createtime;
	}
	/**
	 * 获取：创建时间
	 */
	public Timestamp getCreatetime() {
		return createtime;
	}
	/**
	 * 设置：更新时间
	 */
	public void setUpdatetime(Timestamp updatetime) {
		this.updatetime = updatetime;
	}
	/**
	 * 获取：更新时间
	 */
	public Timestamp getUpdatetime() {
		return updatetime;
	}
}
